﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CarGroupEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/23
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///群组数据实体  
	/// </summary>
    [PrimaryKey("CarGroupID")]
	public class CarGroup
	{
		///<summary>
		///群组
		///</summary>
		public CarGroup()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("CarGroupID","")]
        public int CarGroupID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CarGroupName","")]
        public string CarGroupName { get; set; }

		///<summary>
		///
		///</summary>
        [Column("MasterBrandID","")]
        public int MasterBrandID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("BrandID","")]
        public int BrandID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("ModelID","")]
        public int ModelID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("HeadUrl","")]
        public string HeadUrl { get; set; }

		///<summary>
		///
		///</summary>
        [Column("LogoUrl","")]
        public string LogoUrl { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CityID","")]
        public int CityID { get; set; }

		///<summary>
		///群总人数
		///</summary>
        [Column("Total","群总人数")]
        public int Total { get; set; }

        ///<summary>
        ///群总人数
        ///</summary>
        [Column("ManTotal", "男群总人数")]
        public int ManTotal { set; get; }

        ///<summary>
        ///群总人数
        ///</summary>
        [Column("WoManTotal", "女群总人数")]
        public int WoManTotal { set; get; }

        ///<summary>
        ///
        ///</summary>
        [Column("Description","")]
        public string Description { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CreateDate","")]
        public DateTime CreateDate { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CreateUserID","")]
        public int CreateUserID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UpdateDate","")]
        public DateTime UpdateDate { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UpdateUserID","")]
        public int UpdateUserID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("IsActive","")]
        public int IsActive { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("WxGroupCount", "")]
        public int WxGroupCount { get; set; }


        ///<summary>
        ///
        ///</summary>
        [Column("Manager", "")]
        public string Manager { get; set; }


        ///<summary>
        ///
        ///</summary>
        [Column("QrCodeUrl", "")]
        public string QrCodeUrl { get; set; }


        ///<summary>
        ///
        ///</summary>
        [Column("NickName", "")]
        public string NickName { get; set; }

        ///<summary>
        ///
        ///</summary>
        [ResultColumn("CityName", "")]
        public string CityName { get; set; }

    }
}